package com.usian.apis.wemedia;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;

import java.util.List;

public interface WmNewsControllerApi {

    ResponseResult  findList(WmNewsPageReqDto wmNewsPageReqDto);

    ResponseResult submitNews(WmNewsDto wmNews);

    ResponseResult findWmNewsById(Integer id);

    ResponseResult delNews(Integer id);

    ResponseResult downOrUp(WmNewsDto dto);

    WmNews findById(Integer id);

    ResponseResult updateWmNews(WmNews wmNews);

    List<Integer> findRelease();


}
